package com.ruibang.glass.quality.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDate;
import java.util.List;

import lombok.Data;

/**
 * <p>
 * 成品强度信息
 * </p>
 *
 * @author wujie
 * @since 2024-03-20
 */

@ApiModel(value = "成品强度信息")
@TableName("g_quality_strength")
@Data
public class QualityStrength {

    @ApiModelProperty(value = "强度ID")
    @TableId(value = "strength_id", type = IdType.ASSIGN_ID)
    private String strengthId;
    @ApiModelProperty(value = "玻璃ID")
    private String glassId;
    @ApiModelProperty(value = "产品型号(1:G8.5,2:G8.6,3:G8.6+,4:G8.7)")
    private String glassModel;
    @ApiModelProperty(value = "测定日期")
    private LocalDate measureDate;
    @ApiModelProperty(value = "抽检时间")
    private String checkTime;
    @ApiModelProperty(value = "所属产线")
    private String productLine;
    @ApiModelProperty(value = "测量人")
    private String userId;
    @ApiModelProperty(value = "判定(合格:0,不合格:1)")
    private String decide;
    @ApiModelProperty(value = "四边破损荷重1H1")
    @TableField("damage_1h1")
    private Float damage1h1;
    @ApiModelProperty(value = "四边破损荷重1H2")
    @TableField("damage_1h2")
    private Float damage1h2;
    @ApiModelProperty(value = "四边破损荷重1H3")
    @TableField("damage_1h3")
    private Float damage1h3;
    @ApiModelProperty(value = "四边破损荷重2H1")
    @TableField("damage_2h1")
    private Float damage2h1;
    @ApiModelProperty(value = "四边破损荷重2H2")
    @TableField("damage_2h2")
    private Float damage2h2;
    @ApiModelProperty(value = "四边破损荷重2H3")
    @TableField("damage_2h3")
    private Float damage2h3;
    @ApiModelProperty(value = "四边破损荷重3H1")
    @TableField("damage_3h1")
    private Float damage3h1;
    @ApiModelProperty(value = "四边破损荷重3H2")
    @TableField("damage_3h2")
    private Float damage3h2;
    @ApiModelProperty(value = "四边破损荷重3H3")
    @TableField("damage_3h3")
    private Float damage3h3;
    @ApiModelProperty(value = "四边破损荷重4H1")
    @TableField("damage_4h1")
    private Float damage4h1;
    @ApiModelProperty(value = "四边破损荷重4H2")
    @TableField("damage_4h2")
    private Float damage4h2;
    @ApiModelProperty(value = "四边破损荷重4H3")
    @TableField("damage_4h3")
    private Float damage4h3;
    @ApiModelProperty(value = "四边端面强度1H-1")
    @TableField("face_1h1")
    private Float face1h1;
    @ApiModelProperty(value = "四边端面强度1H-2")
    @TableField("face_1h2")
    private Float face1h2;
    @ApiModelProperty(value = "四边端面强度1H-3")
    @TableField("face_1h3")
    private Float face1h3;
    @ApiModelProperty(value = "四边端面强度2H-1")
    @TableField("face_2h1")
    private Float face2h1;
    @ApiModelProperty(value = "四边端面强度2H-2")
    @TableField("face_2h2")
    private Float face2h2;
    @ApiModelProperty(value = "四边端面强度2H-3")
    @TableField("face_2h3")
    private Float face2h3;
    @ApiModelProperty(value = "四边端面强度3H-1")
    @TableField("face_3h1")
    private Float face3h1;
    @ApiModelProperty(value = "四边端面强度3H-2")
    @TableField("face_3h2")
    private Float face3h2;
    @ApiModelProperty(value = "四边端面强度3H-3")
    @TableField("face_3h3")
    private Float face3h3;
    @ApiModelProperty(value = "四边端面强度4H-1")
    @TableField("face_4h1")
    private Float face4h1;
    @ApiModelProperty(value = "四边端面强度4H-2")
    @TableField("face_4h2")
    private Float face4h2;
    @ApiModelProperty(value = "四边端面强度4H-3")
    @TableField("face_4h3")
    private Float face4h3;
    @ApiModelProperty(value = "平均强度MPa-1H")
    @TableField("average_1h")
    private Float average1h;
    @ApiModelProperty(value = "平均强度MPa-2H")
    @TableField("average_2h")
    private Float average2h;
    @ApiModelProperty(value = "平均强度MPa-3H")
    @TableField("average_3h")
    private Float average3h;
    @ApiModelProperty(value = "平均强度MPa-4H")
    @TableField("average_4h")
    private Float average4h;
    @ApiModelProperty(value = "总平均强度")
    private Float grandAverage;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "是否删除(1:是,0:否)")
    @TableLogic
    private String isDelete;

    @ApiModelProperty(value = "关联图片Id列表")
    @TableField(exist = false)
    private List<String> fileIds;

    @ApiModelProperty(value = "编辑时删除图片Id列表")
    @TableField(exist = false)
    private List<String> deleteFileIds;

    @ApiModelProperty(value = "产线名称")
    private String productLineName;

    @ApiModelProperty(value = "用户名称")
    @TableField(exist = false)
    private String userName;
}
